package com.realshare.frame.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * 读取quartz.config配置
 * author leisure
 * email 15075107120@139.com
 * create 2018-11-23 下午 6:32
 * modify 2018-11-23 下午 6:32
 **/
@Component
@ConfigurationProperties(prefix = "quartz.config")
public class CustomPropertiesConfig {
    public Map<String, String> schedule = new HashMap<String, String>();

    public Map<String, String> getSchedule() {
        return schedule;
    }

    public void setSchedule(Map<String, String> schedule) {
        this.schedule = schedule;
    }
}
